package com.linkhouse.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TbNewRoom implements Serializable {//新房源小区相关房源表
    @TableId(type = IdType.AUTO)//主键自增
    private Long id;
    /**
     * 新房源_主键id
     */
    @TableField
    private Long newRoomId;
    /**
     * 房源规格
     */
    private String spec;
    /**
     * 房源图片
     */
    @TableField
    private String pic;
    /**
     * 房源小区id
     */
    @TableField
    private Long smallAreaId;
    /**
     * 房源状态
     */
    @TableField
    private Integer status;
    /**
     * 总价
     */
    @TableField
    private Long price;

}